package com.jcoder;

import lombok.extern.java.Log;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestMethod;
import org.springframework.web.servlet.ModelAndView;

import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;

@Log
public class HomeController {

    @RequestMapping(value = "/", method = RequestMethod.GET)
    public ModelAndView menuCount(HttpServletRequest request, HttpServletResponse response) {
        return new ModelAndView("/aggre/count.htm");
    }
}
